package com.vim.common.model.base;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * FTP连接信息
 */
@Component
@ConfigurationProperties(prefix="ftp")
public class FtpSetting {

    /** ftp地址 */
    private String url;

    /** ftp端口 */
    private int port;

    /** ftp用户 */
    private String username;

    /** ftp密码 */
    private String password;

    /** ftp根目录 */
    private String basepath;

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getBasepath() {
        return basepath;
    }

    public void setBasepath(String basepath) {
        this.basepath = basepath;
    }
}
